package dto;

import pojo.TcmRelation;

import java.util.List;
/**
 *
 * @author lzj
 *
 */
public class TcmDetailDto {
    //    编号
    private int number;
    //中药名
    private String name;
    //    别名
    private  String alias;
    //归属类别（1上经、2中经、3下经、4增补）
    private int type;
    //    本经原文
    private  String bjyw;
    //    主治
    private String zhuzhi;
    //    性味
    private String xingwei;
    //    产地
    private String chandi;
    //        用量
    private String dosage;
    //    禁忌
    private String taboo;

    //    炮制方法
    private String processing;
    //  其他
    private String note;

    private List<TcmRelation> tcmRelationList;


    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBjyw() {
        return bjyw;
    }

    public void setBjyw(String bjyw) {
        this.bjyw = bjyw;
    }

    public String getZhuzhi() {
        return zhuzhi;
    }

    public void setZhuzhi(String zhuzhi) {
        this.zhuzhi = zhuzhi;
    }

    public String getXingwei() {
        return xingwei;
    }

    public void setXingwei(String xingwei) {
        this.xingwei = xingwei;
    }

    public String getChandi() {
        return chandi;
    }

    public void setChandi(String chandi) {
        this.chandi = chandi;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getTaboo() {
        return taboo;
    }

    public void setTaboo(String taboo) {
        this.taboo = taboo;
    }

    public String getProcessing() {
        return processing;
    }

    public void setProcessing(String processing) {
        this.processing = processing;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<TcmRelation> getTcmRelationList() {
        return tcmRelationList;
    }

    public void setTcmRelationList(List<TcmRelation> tcmRelationList) {
        this.tcmRelationList = tcmRelationList;
    }

    @Override
    public String toString() {
        return "TcmDetailDto{" +
                "number=" + number +
                ", name='" + name + '\'' +
                ", alias='" + alias + '\'' +
                ", type=" + type +
                ", bjyw='" + bjyw + '\'' +
                ", zhuzhi='" + zhuzhi + '\'' +
                ", xingwei='" + xingwei + '\'' +
                ", chandi='" + chandi + '\'' +
                ", dosage='" + dosage + '\'' +
                ", taboo='" + taboo + '\'' +
                ", processing='" + processing + '\'' +
                ", note='" + note + '\'' +
                ", tcmRelationList=" + tcmRelationList +
                '}';
    }
}
